<template>
  <ul class="nav" v-show="$store.state.footShow">
    <router-link to="/film" tag="li" active-class="active">
      <span class="iconfont icon-dianying"></span>
      <p>电影</p>
    </router-link>
    <router-link to="/cinema" tag="li" active-class="active">
      <span class="iconfont icon-yingyuan1"></span>
      <p>影院</p>
    </router-link>
    <router-link to="/news" tag="li" active-class="active">
      <span class="iconfont icon-zixun"></span>
      <p>资讯</p>
    </router-link>
    <router-link to="/center" tag="li" active-class="active">
      <span class="iconfont icon-wode1"></span>
      <p>我的</p>
    </router-link>
  </ul>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  overflow: hidden;
  justify-content: space-around;
  color: #fff;
  background-color: rgba($color: #000000, $alpha: 0.9);
  z-index: 99;
  li {
    display: flex;
    flex-direction: column;
    align-items: center;
    span {
      font-size: 24px;
    }
  }
  & .active {
    color: orange;
  }
}
</style>